<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
</head>
<body>
    <table border="1">
        <tr>
            <td>用户编码</td>
            <td>用户名称</td>
            <td>性别</td>
            <td>年龄</td>
            <td>创建时间</td>
            <td>更新时间</td>
        </tr>
        <tr th:each="user:${users}">
            <td th:text="${user.userCode}"></td>
            <td th:text="${user.userName}"></td>
            <td th:text="${user.sex}"></td>
            <td th:text="${user.age}"></td>
            <td th:text="${user.createTime}"></td>
            <td th:text="${user.updateTime}"></td>
        </tr>
    </table>
</body>
</html>